#ifndef APPLICATIONPAGE_H
#define APPLICATIONPAGE_H

#include <QWidget>
#include "AbstractSettingsPage.h"
#include "GeneralSettings.h"

QT_BEGIN_NAMESPACE
class QSettings;
QT_END_NAMESPACE

namespace Ui {
    class GeneralSettingsPage;
}

class GeneralSettingsPage : public AbstractSettingsPage
{
    Q_OBJECT

public:
    GeneralSettingsPage(QWidget* parent = 0);
    virtual ~GeneralSettingsPage();

public:
    virtual void load();
    virtual void save();

protected:
    void changeEvent(QEvent*);

private:
    Ui::GeneralSettingsPage* ui;
    GeneralSettings _generalSettings;
};

#endif // APPLICATIONPAGE_H
